package Day04;

public class Array01 {
    public static void main(String[] args) {
        int[] arr=new int[3];
        arr[0]=1;
        arr[1]=2;
        arr[2]=3;
        int[] brr={10,20,30};
        System.out.println(arr);
        System.out.println(arr.length);
        for (int i = 0; i < arr.length; i++) {
            System.out.print(arr[i]+" ");
        }
        System.out.println();
        System.out.println(brr);
        System.out.println(brr.length);
        for (int i = 0; i <brr.length ; i++) {
            System.out.print(brr[i]+" ");
        }
    }
}
